Value1 = How much the screen swings
before going to the other direction

Value2 = How long it takes